PESetParameterValueInfo

Use PESetParameterValueInfo to set information about the values which can be stored in a specified parameter field. For example, it establishes whether fields are editable, nullable, or can have multiple values, etc.

C Syntax
BOOL CRPE_API PESetParameterValueInfo(
        short printJob,
        const char FAR *parameterFieldName,
        const char FAR *reportname,
        PEParameterValueInfo FAR *valueInfo );
Parameters

printJob

Specifies the print job for which you want to set parameter value information.

parameterFieldName

Specifies a pointer to the string containing the parameter field name.

reportName

Specifies a pointer to the string containing the report name. See Remarks below.

valueInfo

Specifies a pointer to PEParameterValueInfo, which contains the parameter value information.

Returns
Remarks

Regarding parameter reportName:

VB Syntax
Declare Function PESetParameterValueInfo Lib "crpe32.dll" ( _
    ByVal printJob As Integer, ByVal parameterFieldName As String, _
    ByVal reportName As String, valueInfo As PEParameterValueInfo ) As Integer
Delphi Syntax
function PESetParameterValueInfo (
    printJob: smallint;
    const parameterFieldName: PChar;
    const reportName: PChar;
    var valueInfo: PEParameterValueInfo
    ): BOOL stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com